//
//  LWFilmModel.m
//  豆瓣
//
//  Created by 刘伟 on 16/7/8.
//  Copyright © 2016年 刘伟. All rights reserved.
//

#import "LWFilmModel.h"

@implementation LWFilmModel
-(id)initWithDict:(NSDictionary*)dict{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dict];
        if(dict[@"id"]){
            self.ID = [NSString stringWithFormat:@"%@",dict[@"id"]];
        }
    }
    return self;
}
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    NSLog(@"%@",key);

}
@end
